﻿using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using CommandExecutor;
using RemoteWinceExecutor.Ce.Commands;

namespace RemoteWinceExecutor.Ce
{
    class Program
    {
        static void Main(string[] args)
        {
            var server = new RCServer();
            server.AddCommandHandler("Reboot", new RebootCommand());
            server.AddCommandHandler("ToLowerCase", new ToLowerCaseCommand());
            server.AddCommandHandler("StopServer", new StopCommand(server));
            server.AddCommandHandler("ShutdownServer", new ShutdownServerCommand());
            server.Listen();
        }
    }
}
